package com.kmxd.ams.infra.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kmxd.ams.client.system.dto.SysNoticeQueryDTO;
import com.kmxd.ams.client.system.vo.SysNoticeListVO;
import com.kmxd.ams.infra.system.entity.SysNotice;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 通知公告 Mapper 接口
 *
 * @author ZuoLG
 * @since 2022-07-15
 */
public interface SysNoticeMapper extends BaseMapper<SysNotice> {
  List<SysNoticeListVO> selectUserPage(
      @Param("req") SysNoticeQueryDTO req, @Param("page") Long page, @Param("size") Long size);

  Long selectUserPageCount(@Param("req") SysNoticeQueryDTO req);
}
